﻿#include "runpage.h"
#include <QPainter>
#include <QColor>
RunPage::RunPage(QWidget *parent)
    : QWidget{parent}
{}

void RunPage::paintEvent(QPaintEvent *event)
{
    QPainter painter(this);
    painter.setRenderHint(QPainter::Antialiasing, true);

    painter.save();
    painter.setPen(Qt::NoPen);
    QColor transparentColor(255, 255, 255);
    painter.setBrush(transparentColor);
    painter.drawRoundedRect(rect(), 15, 15);
    painter.restore();
}
